/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package db4o;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author lhqbao
 */
public class Cqql {
    private String macq;
    private String tencq;
    private Set<Khu_TDC> khu_tdcs;
    
    public Cqql(){}
    
    public Cqql(String macq, String tencq)
    {
        this.macq = macq;
        this.tencq = tencq;
        this.khu_tdcs = new HashSet<Khu_TDC>();
    }
    public String getMacq()
    {
        return macq;
    }
    public String getTencq()
    {
        return tencq;
    }
    public void setMacq(String macq)
    {
        this.macq = macq;
    }
    public void setTencq(String tencq)
    {
        this.tencq = tencq;
    }
    public Set<Khu_TDC> getKhu_TDC()
    {
        return khu_tdcs;
    }
    public void setKhu_TDC(Set<Khu_TDC> khu_tdcs)
    {
        this.khu_tdcs = khu_tdcs;
    }
    public boolean addKhu_TDC(Khu_TDC khu_tdc)
    {
        return this.khu_tdcs.add(khu_tdc);
    }
}
